package com.example.util;

public class ExceptionUtils {

	public static RuntimeException createRuntimeException(Exception e) {
		StackTraceElement ste = Thread.currentThread().getStackTrace()[2];
		return new RuntimeException(ste.getClassName()+"."+ste.getMethodName()+"异常",e);
	}

}
